#使用变量
a = 10#创建变量
b = a
print(b)
a = 20#修改
print(a)

#变量类型:不需要在定义变量时显示申明
a = 10
print(type(a))
b = 0.3
print(type(b))
#字符串：把一个一个字符方法到一起，用单引号或双引号都OK
c = 'hello'
print(type(c))
e = 'my name is "fengpeijie"'#e = "my name is 'fengpeijie'"
print(type(e))
#字符串求长度
print(len(e))
#字符串拼接
a1 = 'hello '
a2 = 'world'
print(a1 + a2)
#布尔类型
c1 = True
c2 = False
print(type(c1))
print(type(c2))
